package com.java.tutorials.jdk7.files;

import com.java.tutorials.Constants;

import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;

/**
 * Created by xuzhike on 2016/1/26.
 * http://www.java2s.com/Code/Java/JDK-7/Isapathadirectory.htm
 */
public class Isapathadirectory {
    public static void main(String[] args) throws Exception {
        Path zip = Paths.get(Constants.TEST_PATH);
        System.out.println(Files.isDirectory(zip));
    }
}
